package com.zjuh.taofood.web.action;

import wint.help.biz.result.Result;
import wint.mvc.flow.FlowData;
import wint.mvc.template.Context;

import com.zjuh.taofood.biz.ao.TopicAO;
import com.zjuh.taofood.web.common.BaseAction;

public class Index extends BaseAction {

	private TopicAO topicAO;
	
	public void execute(FlowData flowData, Context context) {
		Result result = topicAO.viewIndex();
		this.handleResult(result, flowData, context);
	}

	public void setTopicAO(TopicAO topicAO) {
		this.topicAO = topicAO;
	}
	
}
